<div id="content">
    <div class="container_medium">        
        <div class="modelGroup1">
            <!-- Type member -->
            <!-- 3 = Private seller -->
            <input type="hidden" id="member_type" name="member_type" value="3" />
            <h1>
                Member registration
            </h1>
<?php  
        $attributes = array(
            'class' => 'email', 
            'id' => 'targets'); 
        echo form_open_multipart(base_url()."index.php/member/register/", $attributes );        
?>
        <input type="hidden" name="member_type" id="member_type" value="0" />
        <table class="table_member">
            <tr>
                <td>
                    <span class="mandatory">Name</span>
                </td>
                <td>
                    <input type="text" name="membername" id="membername" value="" /> 
                </td>
                <td>
                    <div class='error' id='membername_error_msg'>&nbsp;</div>
                </td>
            </tr>            <tr>
                <td>
                    <span class="mandatory">Email</span>
                </td>
                <td>
                    <input type="text" name="email" id="email" value=""  />
                </td>
                <td>
                    <div class='error' id='email_error_msg'>&nbsp;</div>
                </td>
            </tr>
            <tr>
                <td>
                    <span class="mandatory">Telephone</span>
                </td>
                <td>
                    <input type="text" name="contact_phone_1" id="contact_phone_1" value="" />
                </td>
                <td>
                    <div class='error' id='contact_phone_1_error_msg'>&nbsp;</div>
                </td>
            </tr>                        
            <tr>
                <td valign="top">
                    <span class="mandatory">Password</span>
                </td>
                <td>
                    <input type="password" name="password" id="password" style="width: 252px;" />
                    <span style="color:red"></span><br />
                    6 - 20 characters (A-Z, a-z, 0-9 only)
                </td>
                <td>
                    <div class='error' id='password_error_msg'>&nbsp;</div>
                </td>
            </tr>
            <tr>
                <td>
                    <span class="mandatory">Confirm password</span>
                </td>
                <td>
                    <input type="password"  id="confirmpassword" style="width: 252px;"/>
                </td>
                <td>
                    <div class='error' id='confirmpassword_error_msg'>&nbsp;</div>
                </td>
            </tr>   
            <tr>
                <td>
                    Gender:
                </td>
                <td>
                    <input type="radio" id="gender" name="gender" value="0" checked/>
                    Ms.
                    <input type="radio" id="gender" name="gender" value="1" >  
                    Mr.                    
                </td>
                <td>
                    <div class='error' id='gender_error_msg'>&nbsp;</div>
                </td>
            </tr>
            <tr>
                <td>
                    Photo:
                </td>
                <td>
                    <input type="file" name="userfile"  size="20" id="photo" />
                    <span style="color:red"></span>
                </td>
                <td>
                    <div class='error' id='photo_error_msg'>&nbsp;</div>
                </td>
            </tr>
            <tr>
                <td>
                    I am a/an:
                </td>
                <td>
                    <select name="occupation" id="occupation">
                        <option value="0">Please Select</option>
                        <option value="1" >Owner</option>
                        <option value="2" >Investor/buyer</option>
                        <option value="3" >Tenant</option>
                        <option value="4" >Developer</option>
                        <option value="5" >Broker/Agent</option>
                        <option value="6" >Appraiser</option>
                        <option value="7" >Lender/Mortgage broker</option>
                        <option value="8" >Researcher</option>
                        <option value="9" >Other</option>
                    </select>
                    <span style="color:red"></span>
                </td>
                <td>
                    <div class='error' id='type_member_error_msg'>&nbsp;</div>
                </td>
            </tr>
            <tr>
                <td height="2" colspan="5">&nbsp;</td>
            </tr>
            <!--
            <tr>
                <td height="60">
                    <font color="#ca0002"><span class="text-align">*Type the code shown:</span></font>
                </td>
                <td width="49">
<?php echo
                    $captcha['image'];
?>
                    <input type=hidden  id='captcha'  value = '<?php echo $_SESSION['captchaWord'] ?>'>
                </td>
                <td width="313" colspan="2">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td></td>
                <td colspan="3">
                    <input type="text" name="confirmCaptcha" id="confirmCaptcha" value="" style="width:195px;">
                    <span style="color:red"></a></span>      
                </td>
                <td>
                    <div class='error' id='confirmCaptcha_error_msg'>&nbsp;</div>
                </td>
            </tr>
            -->
            <tr>
                <td></td>
                <td>
                    <input type="submit" value="Register" name="submit" class="register" />
                </td>
                <td>&nbsp;</td>
            </tr>
        </table>
<?php 
        echo form_close() 
?>
        </div>
    </div> 
    <div class="quicklink">
<?php 
        $this->load->view('/templates/quicklinks');
?>                        
    </div>    
</div>
<div class="separator"></div>